Skip to content

docs(point): ShapeSolver JAX message reads MAX_CONTAINING_SIZE (PyAutoArray#583) - #753

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/pointsolver-mcs-headroom
Sep 27, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/pointsolver-mcs-headroom

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

The ShapeSolver JAX-rejection message and docstring now read the triangle cap from autoarray.structures.triangles.array.MAX_CONTAINING_SIZE, so they no longer hard-code "(15)". This is a companion to PyAutoArray's 15 → 20 change (phase 4c, PyAutoLabs/PyAutoArray#583). The message cannot drift from the library value again. The import is NumPy-only (checked), so the message is the same plain string whether or not JAX is installed.

API Changes

None — internal changes only. The NotImplementedError text now reads MAX_CONTAINING_SIZE (<value>).
See full details below.

Test Plan

  • The test_shape_solver.py pins assert the rendered constant, including the xfail reason; shape-solver tests give 16 passed, 1 xfailed.
  • PyAutoLens full suite against the PyAutoArray branch: 759 passed, 1 xfailed.
  • The change works with either PyAutoArray value, because it reads the constant.
Full API Changes (for automation & release notes)

Changed Behaviour

  • The ShapeSolver._JAX_REJECTED_MESSAGE text now quotes the live MAX_CONTAINING_SIZE instead of a literal 15.

Upstream PR

PyAutoLabs/PyAutoArray#584

Part of PyAutoLabs/PyAutoArray#583.

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

…m autoarray

The rejection message and the xfail reason hard-coded the cap as "(15)".
The message is now built at class creation from
autoarray.structures.triangles.array.MAX_CONTAINING_SIZE (a NumPy-only
module, so it is the same plain string with or without JAX), the class
docstring names the constant instead of a number, and the tests pin the
rendered constant rather than a literal. Follows PyAutoArray#583 (15 -> 20).

Refs PyAutoLabs/PyAutoArray#583

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant